﻿using System;
using System.Xml;

namespace RBTools.CodeGenerator.T4Generator.Message
{
	public static class Messages
	{
		public class Validation
		{
			public static MessageEntry MandatoryField = new MessageEntry("MandatoryField","The {0} is mandatory.","Validation");
			public static MessageEntry GreaterThan = new MessageEntry("GreaterThan","The {0} must be greater than {1}.","Validation");
		}
		public class Confirmation
		{
			public static MessageEntry ReallyDelete = new MessageEntry("ReallyDelete","Do you really want to delete the {0}.","Confirmation");
		}
			 
	} 

	public class MessageEntry
	{
		public System.String ID
		{get;set;}

        public System.String Value
		{get;set;}

        public System.String Category
		{get;set;}

        		
		public MessageEntry(System.String _ID, System.String _Value, System.String _Category)
		{
			ID=_ID;
			Value=_Value;
			Category=_Category;
		} 
	}
}